package com.tamo.ppresta.httpapi;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.tamo.ppresta.constant.API_CONSTANT;

import org.jetbrains.annotations.NotNull;

/**
 * @author yeyang
 * @name ppresta
 * @class name：com.tamo.ppresta.httpapi
 * @class describe
 * @time 2022/12/31 19:49
 * @change
 * @chang time
 * @class describe
 */
public class SubmitUserOpinionApi implements IRequestApi {
    @NonNull
    @NotNull
    @Override
    public String getApi() {
        return API_CONSTANT.SUBMIT_USER_OPINION;
    }

    private String itemCode;
    private String languageCode;
    private String sessionId;
    private String mobile;
    private String name;
    private String content;
    private String opinionType;
    private String opinionImagesUrl;

    public SubmitUserOpinionApi setItemCode(String itemCode) {
        this.itemCode = itemCode;
        return this;
    }

    public SubmitUserOpinionApi setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
        return this;
    }

    public SubmitUserOpinionApi setSessionId(String sessionId) {
        this.sessionId = sessionId;
        return this;
    }

    public SubmitUserOpinionApi setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public SubmitUserOpinionApi setName(String name) {
        this.name = name;
        return this;
    }

    public SubmitUserOpinionApi setContent(String content) {
        this.content = content;
        return this;
    }

    public SubmitUserOpinionApi setOpinionType(String opinionType) {
        this.opinionType = opinionType;
        return this;
    }

    public SubmitUserOpinionApi setOpinionImagesUrl(String opinionImagesUrl) {
        this.opinionImagesUrl = opinionImagesUrl;
        return this;
    }
}